import hashlib

def generate_sso_token(id, timestamp, secret):
    token = "%s%s%s" % (id, timestamp, secret)
    md5 = hashlib.md5()
    md5.update(token)
    return md5.hexdigest()
